package cn.example.zjgsu.dao;

import cn.example.zjgsu.pojo.Plan;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PlanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Plan record);

    Plan selectByPrimaryKey(Integer id);

    List<Plan> selectAll();

    int updateByPrimaryKey(Plan record);

    Plan selectPlanById(Integer id);

    List<Plan> selectPlanByAcount(String userid);
}